package com.samphanie.common.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @Description:
 * @Author ZSY
 * @createTime 2021/10/18 17:06
 */
public class SystemEnum {

    @Getter
    @AllArgsConstructor
    @NoArgsConstructor
    public enum ShowStatus {
        HIDDEN(0, "隐藏"),
        SHOW(1, "显示");

        private int code;
        private String description;
    }

    /**
     * 云服务商
     */
    @Getter
    @AllArgsConstructor
    @NoArgsConstructor
    public enum CloudService {
        /**
         * 七牛云
         */
        QINIU(1),
        /**
         * 阿里云
         */
        ALIYUN(2),
        /**
         * 腾讯云
         */
        QCLOUD(3);

        private int value;
    }

    /**
     * 定时任务状态
     */
    @Getter
    @AllArgsConstructor
    @NoArgsConstructor
    public enum ScheduleStatus {
        /**
         * 正常
         */
        NORMAL(0),
        /**
         * 暂停
         */
        PAUSE(1);

        private int value;
    }

}
